package com.project.mapper.xjProject;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.domain.entity.xjProject.BizXjProject;
import com.project.domain.vo.ProjectInfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface XjProjectMapper extends BaseMapper<BizXjProject> {



    @Select("select * from biz_${type}_project order by CREATEDATE desc")
    List<ProjectInfoVo> getLastedProId(@Param("type") String type);
}
